package com.xia.domain;

/**
 * 日志操作表
 */

public class OperationLog {
    /**
     * 日志id
     */
    private Long logId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 操作
     */
    private String action;
    /**
     *  操作Ip
     */
    private String ip;
    /**
     *  操作详情
     */
    private String detail;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "OperationLogs{" +
                "action='" + action + '\'' +
                ", logId=" + logId +
                ", userId=" + userId +
                ", ip='" + ip + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
